﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblROLESService
	{
		private static readonly tblROLESDAL db = new tblROLESDAL();
		#region[tblROLES_GetById]
		public static DataTable tblROLES_GetById(string Id)
		{
			return db.tblROLES_GetById(Id);
		}
		#endregion
		#region[tblROLES_GetByAll]
		public static DataTable tblROLES_GetByAll()
		{
			return db.tblROLES_GetByAll();
		}
		#endregion
		#region[tblROLES_GetByTop]
		public static DataTable tblROLES_GetByTop(string Top, string Where, string Order)
		{
			return db.tblROLES_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblROLES_Insert]
		public static void tblROLES_Insert(tblROLESInfo Data)
		{
			 db.tblROLES_Insert(Data);
		}
		#endregion
		#region[tblROLES_Update]
		public static void tblROLES_Update(tblROLESInfo Data)
		{
			 db.tblROLES_Update(Data);
		}
		#endregion
		#region[tblROLES_Delete]
		public static void tblROLES_Delete(string Id)
		{
			 db.tblROLES_Delete(Id);
		}
		#endregion
	}
}